const path = require('path')

// 设置 uni-app CLI 上下文
process.env.UNI_CLI_CONTEXT = __dirname
process.env.UNI_INPUT_DIR = path.resolve(__dirname, 'src')
process.env.UNI_OUTPUT_DIR = path.resolve(__dirname, 'dist')

module.exports = {
  transpileDependencies: ['@dcloudio/uni-ui'],
  configureWebpack: {
    devtool: 'source-map'
  }
}

